package com.zaydanwu.cla.service.Impl;

import com.zaydanwu.cla.dao.HolidayPlanMapper;
import com.zaydanwu.cla.model.HolidayPlan;
import com.zaydanwu.cla.service.HolidayPlanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wzo
 * @since 2.0.0 2018-12-13
 */
@Service
public class HolidayPlanServiceImpl implements HolidayPlanService {

    @Resource
    private HolidayPlanMapper holidayPlanMapper;

    @Override
    public List<HolidayPlan> getAllHolidayPlan(Integer semester) {
        return holidayPlanMapper.getAllHolidayPlan(semester);
    }
}
